import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import axios from 'axios'
import moment from 'moment'
import VueElementLoading from 'vue-element-loading'

Vue.prototype.$moment = moment
moment.locale('zh-cn')
Vue.use(VueElementLoading)
Vue.prototype.$http = axios
Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.prototype.$http = axios
Vue.prototype.cmdbUrl = '配置cmdb后端域名 http://cmdbgo.sys.xxxx.com/cmdb'
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
